package com.wayne.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wayne.blog.entity.Permission;

import java.util.List;

public interface PermissionService extends IService<Permission> {
    List<Permission> getPermissionsByUserId(Long userId);
    boolean hasPermission(Long userId, String permissionCode);
} 